| Total Complexity | 46 |
| Dependencies | 7 |
| Dependents | 4 |
| Total lines | 380 |
| Lines of code | 191 |
| Logical lines of code | 104 |
| Comment lines | 126 |
| Methods | 12 |
| Properties | 11 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| upload_credentials() | 47 | 9 | 38 | |
| validate_json_service_account_file() | 49 | 6 | 33 | |
| assign_token_to_client() | 54 | 6 | 23 | |
| save_token() | 54 | 6 | 22 | |
| initialize_google_client() | 56 | 4 | 19 | |
| handle_initialization_error() | 59 | 3 | 17 | |
| is_app_permitted() | 70 | 4 | 6 | |
| initialize_directory() | 67 | 3 | 8 | |
| get_instance() | 71 | 2 | 6 | |
| __construct() | 59 | 1 | 13 | |
| get_consent_screen_url() | 81 | 1 | 3 | |
| is_credential_loaded() | 80 | 1 | 3 |